package com.gx.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * @author lpj
 */
@Getter
@Setter
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class TaskScheduleModel  {

    @ApiModelProperty("所选作业类型:1  -> 每天 ;2  -> 每月 ;3  -> 每周 ;4  -> 时间点")
    private Integer jobType;

    @ApiModelProperty("一周的哪几天")
    private Integer[] dayOfWeeks;

    @ApiModelProperty("一个月的哪几天")
    private Integer[] dayOfMonths;

    @ApiModelProperty("秒")
    private Integer second;

    @ApiModelProperty("分")
    private Integer minute;

    @ApiModelProperty("时")
    private Integer hour;

    @ApiModelProperty("时间点")
    private Date date;

}

